package org.nf.ssm.dao;

import org.apache.ibatis.annotations.Param;
import org.nf.ssm.domain.User;

import java.util.List;

/**
 * @author zhu
 * @date 2024-10-14
 */
public interface UserDao {
    List<User> getAllUser(@Param("pageNum")Integer pageNum,@Param("pageSize")Integer pageSize);

    void addUser(User user);

    void updateUser(User user);

    void deleteUser(Integer userId);
}
